import { useNavigate } from "react-router-dom";

const handleUnauthorized = () => {
	const navigate = useNavigate();    
	navigate("/login");
};

export default handleUnauthorized